package com.leo.blog.web.resources;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/resources", method = RequestMethod.GET)
public class ResourcesController {
	@RequestMapping(value = "/resource")
	public String resource() {
		return "admin/resource/resource";
	}
	
	@RequestMapping(value = "/frontendresource")
	public String frontendResource() {
		return "frontend/resource";
	}
}
